/*
 * @Descripttion: 需要注册的微应用
 * @version: 1.0.0
 * @Author: shuaishuai.han
 * @Date: 2022-01-05 22:05:05
 */
const EntryHead = process.env.VUE_APP_ENV === 'dev' ? 'dev-' : '';

const MicroApps = [
  {
    title: '体检',
    // code: 10001,
    name: 'checkup',
    entry: `//${EntryHead}health.caetar.com/jsnydsfy/knt-checkup/`,
    // entry: '//localhost:8081/jsnydsfy/knt-checkup/',
    container: '#microContainer',
    activeRule: '/jsnydsfy/knt-checkup',
    route: '/jsnydsfy/knt-checkup/',
    isOpen: true
  },
  // 孕产
  {
    title: '孕产',
    code: 10001,
    name: 'pregnancy',
    entry: `//${EntryHead}health.caetar.com/knt-pregnancy/`,
    // entry: '//localhost:8081/knt-pregnancy/',
    container: '#microContainer',
    activeRule: '/knt-pregnancy',
    route: '/knt-pregnancy/',
    isOpen: true
  },
  // 儿科
  {
    title: '儿科',
    code: 10002,
    name: 'pediatric',
    entry: `//${EntryHead}health.caetar.com/knt-pediatric/`,
    // entry: '//localhost:8082',
    container: '#microContainer',
    activeRule: '/knt-pediatric',
    route: '/knt-pediatric/',
    isOpen: true
  },
  // 内分泌
  {
    title: '内分泌',
    code: 10003,
    name: '',
    entry: '//localhost:8080',
    container: '#microContainer',
    // activeRule: '/colledg',
    route: '/colledg',
    isOpen: false
  },
  // 呼吸
  {
    title: '呼吸',
    code: 10004,
    name: '',
    entry: '//localhost:8080',
    container: '#microContainer',
    // activeRule: '/colledg',
    route: '/colledg',
    isOpen: false
  },
  // 肿瘤
  {
    title: '肿瘤',
    code: 10005,
    name: '',
    entry: '//localhost:8080',
    container: '#microContainer',
    // activeRule: '/colledg',
    route: '/colledg',
    isOpen: false
  },
  // 生殖科
  {
    title: '生殖科',
    code: 10006,
    name: '',
    entry: '//localhost:8080',
    container: '#microContainer',
    // activeRule: '/colledg',
    route: '/colledg',
    isOpen: false
  },
  // 消化
  {
    title: '消化',
    code: 10007,
    name: '',
    entry: '//localhost:8080',
    container: '#microContainer',
    // activeRule: '/colledg',
    route: '/colledg',
    isOpen: false
  },
  // 皮肤科
  {
    title: '皮肤科',
    code: 10008,
    name: '',
    entry: '//localhost:8080',
    container: '#microContainer',
    // activeRule: '/colledg',
    route: '/colledg',
    isOpen: false
  },
  // 眼科
  {
    title: '眼科',
    code: 10009,
    name: '',
    entry: '//localhost:8080',
    container: '#microContainer',
    // activeRule: '/colledg',
    route: '/colledg',
    isOpen: false
  },
  // 眼科
  {
    title: '妇科',
    code: 10010,
    name: '',
    entry: '//localhost:8080',
    container: '#microContainer',
    // activeRule: '/colledg',
    route: '/colledg',
    isOpen: false
  },
  // 眼科
  {
    title: '心血管科',
    code: 10011,
    name: '',
    entry: '//localhost:8080',
    container: '#microContainer',
    // activeRule: '/colledg',
    route: '/colledg',
    isOpen: false
  },
  // 眼科
  {
    title: '遗传医学科',
    code: 10012,
    name: '',
    entry: '//localhost:8080',
    container: '#microContainer',
    // activeRule: '/colledg',
    route: '/colledg',
    isOpen: false
  }
];

export default MicroApps;
